<?php

namespace App\Api\Validate;

use App\Models\RoomCheckIn;

class MiniUserValidate extends BaseValidate
{

    public function checkLiving($openid)
    {
        $living = (new RoomCheckIn())->getLiving($openid);
        if (!$living) {
            $this->return('您没有入住的订单');
        }
        return $living;
    }

}
